<?php
date_default_timezone_set("Asia/Ho_Chi_Minh"); 
extension_loaded("gd");
session_start();
function __autoload($name){
	require_once($name.".class.php");
}
$basePath = dirname(dirname(__FILE__));
$date = date("Y-m-d h:i:s");

$db		= new dbsmart("mysql:host=localhost;dbname=fashion","root","123");
//$dbsql	= new dbsmart("mssql:host=localhost;dbname=GuitarStore","sa","hvmtltsm@nh");
$registry = new Registry();
$registry->set('db', $db);

$baseUrl="http://".$_SERVER['HTTP_HOST']."/fashion";
$baseUrlAdmin 	= $baseUrl . '/admin';
$baseURI		= $_SERVER['REQUEST_URI'];
include("global.php");
include("validate.php");
$arrHour=array(8=>8,9=>9,10=>10,11=>11,12=>12,13=>'1 PM',14=>'2 PM',15=>'3 PM',16=>'4 PM',17=>'5 PM',18=>'6 PM',19=>'7 PM',20=>'8 PM');
$arrMinute=array(0=>'00',5=>5,10=>10,15=>15,20=>20,25=>25,30=>30,35=>35,40=>40,45=>45,50=>50,55=>55);

	$dt=date('d')+1;
	$mt=date('m');
	$Yt=date('Y');
	$tomorow = date("d-m-Y", mktime(0, 0, 0, $mt, $dt, $Yt));

?>